<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <meta charset="utf-8">
	<title>染发产品更新</title>
	<link rel="stylesheet" href="https://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <h2 align="center">染发产品更改</h1><br>
    <div style="padding: 100px;">
    <s:iterator value="#request['changeHairColorproducts']" id="product">
	<form class="bs-example bs-example-form" role="form" action="updateHairColorproductSave.action" method="post">
		<div class="input-group">
			<span class="input-group-addon">名称</span>
			<input type="text" class="form-control" name="name" value=<s:property value="#product.name"/>>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">类型</span>
			<input type="text" class="form-control" name="type" value=<s:property value="#product.type"/>>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">颜色</span>
			<input type="text" class="form-control" name="color" value=<s:property value="#product.color"/>>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">耗时</span>
			<input type="text" class="form-control" name="timeConsuming" value=<s:property value="#product.timeConsuming"/>>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">价格</span>
			<input type="text" class="form-control" name="price" value=<s:property value="#product.price"/>>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">备注</span>
			<input type="text" class="form-control" name="remark" value=<s:property value="#product.remark"/>>
		</div>
		<br>
		<button type="submit" class="btn btn-default" align="center">提交</button> 
	</form>
	</s:iterator>
</div>
  </body>
</html>
